<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#import "/WEB-INF/tpl/public/DetailHead.ftl" as dHead> <@dHead.detailHead title="部门管理">
<link rel="stylesheet" type="text/css" href="${c}/css/${USER_SESSION.theme}/jquery-ui.css" />
<script language="javascript" src="${c}/js/ui/i18n/grid.locale-cn.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.ui.timepicker.min.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.ui.slider.min.js"></script>
<script language="javascript" src="${c}/js/core/base.js"></script>
<script language="javascript" src="${c}/js/oa/process/appleave-edit.js"></script>
</@dHead.detailHead>
<body>

<#import "/WEB-INF/tpl/public/DetailContent.ftl" as dc>
<@dc.detailContent title="创建请调休申请">
<@s.form id="proleaveForm" name="form1" action="saveDepartment.action" method="post">
<table align="center" width="100%">
	<tr style="display:none">
		<td colspan="5">
		<@s.hidden name="edit" id="edit_flag"/>
		<@s.hidden name="proleave.pro_leave_id" id="pro_leave_id"/>
		</td>
	</tr>
	<tr>
		<td width="15%" class="label">申请名称:</td>
		<td colspan="2"><#if edit==false><@s.textfield name="proleave.pro_leave_name"
		id="pro_leave_name" maxlength="100" style="width:400px"/>&nbsp;<span id="pro_leave_name_msg" style="color:red"></span>
		<#else><@s.textfield name="proleave.pro_leave_name" style="width:400px" id="pro_leave_name" readonly="true"/></#if></td>
		<td width="15%" class="label">申请时间:</td>
		<td width="15%"><@s.property value="proleave.apply_time"/></td>
	</tr>
	<tr>
		<td width="15%" class="label">申请类型:</td><!-- 申请类型:1请假;2调休;3病假;4事假;5婚假;6丧假;0其他 -->
		<td colspan="4"><ul>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">请假&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="1" checked="true">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">调休&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="2">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">病假&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="3">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">事假&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="4">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">婚假&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="5">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">丧假&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="6">
			</li>
			<li style="width:80px; float:left;"><div style="width:50px;height:20px;float:left;text-align:right;padding-top:2px">其他&nbsp;</div>
			<input name="proleave.pro_leave_type" type="radio" value="0">
			</li>
		</ul></td>
	</tr>
	<tr>
		<td width="15%" class="label">申请事由:</td>
		<td colspan="4"><@s.textarea name="proleave.apply_desc" style="height:100px" id="apply_desc" maxlength="1024"/></td>
	</tr>
	<tr>
		<td width="15%" class="label">时间范围:</td>
		<td colspan="2"><@s.textfield name="proleave.apply_start_time" id="apply_start_time"/></td>
		<td width="15%" class="label">申请总天数:</td>
		<td width="15%"><@s.textfield name="proleave.apply_dates" id="apply_dates" maxlength="3" style="width:40px"/></td>
	</tr>
</table>
<div class="action" align="center">
<input type="button" value="确定" id="saveProLeaveButt"/>&nbsp;&nbsp;
<input type="button" value="取消" onClick="window.close()"/>&nbsp;&nbsp;</div>
</@s.form>
</@dc.detailContent>
<div id="DropdownMenuBackground" style="display:none; position:absolute; height:200px; min-width:150px; background-color:white;border:1px solid;overflow-y:auto;overflow-x:auto;">
	<ul id="dropdownMenu" class="tree"></ul>
</div>
</body>
</html>